/*
 * i2c_ops.h
 *
 *  Created on: 2021-2-7
 *      Author: Administrator
 */

#ifndef I2C_OPS_H_
#define I2C_OPS_H_
#include <stdint.h>
extern int i2c_rd(int fd, uint32_t dev_addr, uint8_t reg_addr, uint8_t *data);
extern int i2c_wr(int fd, uint32_t dev_addr, uint8_t reg_addr, uint8_t data);
extern int i2c_dumper(int32_t i2c_fd, uint32_t slave_addr,
		uint32_t start , uint32_t count);

#endif /* I2C_OPS_H_ */
